package fr.ifsic.film.client.dto;

public class VedetteIdDTO implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private int f;
	private int p;

	public VedetteIdDTO() {
	}

	public VedetteIdDTO(int f, int p) {
		this.f = f;
		this.p = p;
	}

	public int getF() {
		return this.f;
	}

	public void setF(int f) {
		this.f = f;
	}

	public int getP() {
		return this.p;
	}

	public void setP(int p) {
		this.p = p;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof VedetteIdDTO))
			return false;
		VedetteIdDTO castOther = (VedetteIdDTO) other;

		return (this.getF() == castOther.getF())
				&& (this.getP() == castOther.getP());
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result + this.getF();
		result = 37 * result + this.getP();
		return result;
	}

}
